{% extends "myadmin/base.html" %}

{% block mainbody %}
<h3>会员信息管理</h3>                
    <form id="edit-profile" action="{% url 'myadmin_users_reset' user.id %}" class="form-horizontal" method="post">
        {% csrf_token %}
        <fieldset>
            <h3 style="font-size: 28px"><legend>重置会员密码信息</legend></h3>
            <div class="control-group">
                <label class="control-label" for="input01">账号：</label>
                <div class="controls">
                    <input type="text" name="username" class="input-xlarge" id="input01" value="{{ user.username }}" disabled />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">真实姓名：</label>
                <div class="controls">
                    <input type="text" name="username" class="input-xlarge" id="input01" value="{{ user.name }}" disabled />
                </div>
            </div>          
            <div class="control-group">
                <label class="control-label" for="input01">密码：</label>
                <div class="controls">
                    <input type="password" name="password" class="input-xlarge" id="input01" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">重复密码：</label>
                <div class="controls">
                    <input type="password" name="password" class="input-xlarge" id="input01" />
                </div>
            </div>                      
            <div class="form-actions">
                <button type="submit" class="btn btn-primary" style="margin-left: -30px">修改</button>
                <button type="reset" class="btn" style="margin-left: 25px">重置</button>
            </div>
        </fieldset>
    </form>
{% endblock %}
